{% extends "base.html" %}
{#
Copyright 2011 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#}
{% block title %}{% trans %}安否情報{% endtrans %}{% endblock %}
{% block content %}
{% if added %}
<span style="color:#f00;">{% trans %}追加しました。{% endtrans %}</span><hr>
{% endif %}
{% if email_added == '1' %}
<span style="color:#f00;">{% trans %}メールアドレスを登録しました。{% endtrans %}</span><hr>
{% endif %}


  {% trans %}名前{% endtrans %}<br>
  {% trans %}姓{% endtrans %}：{{ person.last_name }}<br>
  {% trans %}名{% endtrans %}：{{ person.first_name }}<br>

  {% trans %}自宅住所{% endtrans %}<br>
  {% if person.home_street %}
  {% trans %}町名{% endtrans %}：{{ person.home_street }}<br>
  {% endif %}
  {% if person.home_neighborhood %}
  {% trans %}近隣の場所{% endtrans %}：{{ person.home_neighborhood }}<br>
  {% endif %}
  {% if person.home_city %}
  {% trans %}市{% endtrans %}：{{ person.home_city }}<br>
  {% endif %}
  {% if person.home_state %}
  {% trans %}都道府県{% endtrans %}：{{ person.home_state }}<br>
  {% endif %}
  {% if person.home_postal_code %}
  {% trans %}郵便番号{% endtrans %}：{{ person.home_postal_code }}<br>
  {% endif %}
  {% if person.home_country %}
  {% trans %}出身国{% endtrans %}：{{ person.home_country }}<br>
  {% endif %}
  <hr>
  {% trans %}情報源{% endtrans %}<br>
  {% trans %}提供者名{% endtrans %}:{{ person.author_name }}<br>
  {% trans %}投稿日時{% endtrans %}:{{ person.entry_date|datetimeformat }}<br>

<hr>

{% if added %}
<a href="{{ url_for('create') }}">{% trans %}新しい生存者を登録する{% endtrans %}</a><br>
{% endif %}
<a href="{{ url_for('add_note') }}?id={{ person.person_record_id }}&first_name={{ person.first_name }}&last_name={{ person.last_name }}">{% trans last_name=person.last_name, first_name=person.first_name %}{{ last_name }} {{ first_name }}さんの最新状況を追加する{% endtrans %}</a><br>
<a href="{{ url_for('search') }}">{% trans %}別の人探す{% endtrans %}</a>
<hr>

{% for note in notes %}
  {% trans %}投稿者{% endtrans %}:{{ note.author_name }}<br>
  {% for line in note.text %}
    {{ line | safe }}<br>
  {% endfor %}
  {% trans %}状況{% endtrans %}:{{ note.status }}<br>
  {% if note.last_known_location %}
    {% trans %}最後に見かけた場所{% endtrans %}:{{ note.last_known_location }}<br>
  {% endif %}
  {{ note.entry_date|datetimeformat }}<br>
  <hr>
{% endfor %}

{% if kddi %}
{% trans %}連絡先等の詳細はPCｻｲﾄﾋﾞｭｰｱｰ版をご利用ください{% endtrans %}
{% else %}
{% trans %}連絡先等の詳細はPCﾌﾙﾌﾞﾗｳｻﾞ版をご利用ください{% endtrans %}
{% endif %}
<br>
<a href="{{ person_finder_url | safe }}" ifb>{% trans %}PC版{% endtrans %}</a>
{% endblock %}
